/*
 * ConversionBO.java
 *
 * Created on March 23, 2007, 5:59 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package edu.byu.isys413.group1E.data;

/**
 * Contain information for conversions
 * @author kckern
 */

public class ConversionBO extends RevenueSourceBO{

    private int quantity;
    private String ConversionServiceID;
    private String status;
    
    /**
     * Creates a new instance of ConversionBO
     * @param revSrcID contain the Revenue source id to be used
     */
    public ConversionBO(String revSrcID) {
        this.setType("conversion");
        this.setStatus("Not Ready");
        this.setRevSrcID(revSrcID);
    }

    /**
     * Gets the quantity
     * @return Returns the appropriate object or string
     */
    public int getQuantity() {
        return quantity;
    }

    /**
     * Sets the quantity
     * @param quantity contains the quantity
     */
    public void setQuantity(int quantity) {
        this.quantity = quantity; soil();
    }

    /**
     * Gets the conversion service ID
     * @return Returns the appropriate object or string
     */
    public String getConversionServiceID() {
        return ConversionServiceID;
    }

    /**
     * Sets the conversion service ID
     * @param ConversionServiceID contains the conversion service ID
     */
    public void setConversionServiceID(String ConversionServiceID) {
        this.ConversionServiceID = ConversionServiceID; soil();
    }

    /**
     * Gets the conversion status
     * @return Returns the appropriate object or string
     */
    public String getStatus() {
        return status;
    }

    /**
     * Sets the conversion status
     * @param status contains the status
     */
    public void setStatus(String status) {
        this.status = status; soil();
    }


}
